export const parseQueryString = function (param) {
  let regPara = /([^&=]+)=([\w\W]*?)(&|$)/g
  let ret = {}
  if (param) {
    let strPara = param
    let result
    while ((result = regPara.exec(strPara)) != null) {
      ret[result[1]] = result[2]
    }
  }
  return ret
}